<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>商品分类</title>
    <link rel="stylesheet" href="../../static/css/common/adaptor.css">
    <link rel="stylesheet" href="../../static/css/common/common.css">
    <link rel="stylesheet" href="../../static/css/classify/classify.css">
</head>

<body>
    <div class="layout">
        <div class="header">
            <h1>商品分类</h1>
            <div class="searchIcon"></div>
        </div>
        <div class="contentBox">
            <!-- 动态渲染 -->
        </div>
        <div class="menu">
            <ul>
                <li><a href="javascript:void(0);">首页<span class="indexxIcon"></span></a></li>
                <li><a href="javascript:void(0);">分类<span class="classifyIcon"></span></a></li>
                <li><a href="javascript:void(0);">活动<span class="activityIcon"></span></a></li>
                <li><a href="javascript:void(0);">购物车<span class="carIcon"></span></a></li>
                <li><a href="javascript:void(0);">我<span class="meIcon"></span></a></li>
            </ul>
        </div>
    </div>
    <script type="text/template" id="contentBox">

        <div class="classifyList">
            {{each classifyDetail as item index}}
            <div class="classifyItem" data-id={{item.id}} picUrl={{item.pic}} data-title={{item.name}}>
                <div class="classifyTitle">{{item.name}}</div>
                <div class="classifyPic"><img src="{{item.pic}}" alt=""></div>
            </div>
            {{/each}}
        </div>
    </script>
    <script src="../../static/assets/jquery/jquery.min.js"></script>
    <script src="../../static/assets/art-template/template.js"></script>
    <script src="../../static/assets/pullmaster/pull.min.js"></script>
    <script src="../../static/js/config/config.js"></script>
    <script src="../../static/js/classify/classify.js"></script>
</body>

</html>